package com.glory.hikvisionmobile.bean.LotSplitOrAdd;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class LotSplitBean implements Serializable {

    private String lotId;

    private String holdState;

    private String state;

    private String mainQty;

    private String partDesc;

    private String stepDesc;

    private String recipeName;

    private String recipeDesc;

    private String partName;

    private String subUnitType;

    private String childLotId;

    private List<PdaComponentBean> xPdaComponents;

    private List<LotAddBean> xPdaLots;

    public String getSubUnitType() {
        return subUnitType == null ? "" : subUnitType;
    }

    public void setSubUnitType(String subUnitType) {
        this.subUnitType = subUnitType;
    }

    public String getChildLotId() {
        return childLotId == null ? "" : childLotId;
    }

    public void setChildLotId(String childLotId) {
        this.childLotId = childLotId;
    }

    public String getRecipeDesc() {
        return recipeDesc == null ? "" : recipeDesc;
    }

    public void setRecipeDesc(String recipeDesc) {
        this.recipeDesc = recipeDesc;
    }

    public String getPartName() {
        return partName == null ? "" : partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public List<LotAddBean> getxPdaLots() {
        if (xPdaLots == null) {
            return new ArrayList<>();
        }
        return xPdaLots;
    }

    public void setxPdaLots(List<LotAddBean> xPdaLots) {
        this.xPdaLots = xPdaLots;
    }

    public String getLotId() {
        return lotId == null ? "" : lotId;
    }

    public void setLotId(String lotId) {
        this.lotId = lotId;
    }

    public String getHoldState() {
        return holdState == null ? "" : holdState;
    }

    public void setHoldState(String holdState) {
        this.holdState = holdState;
    }

    public String getState() {
        return state == null ? "" : state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMainQty() {
        return mainQty == null ? "" : mainQty;
    }

    public void setMainQty(String mainQty) {
        this.mainQty = mainQty;
    }

    public String getPartDesc() {
        return partDesc == null ? "" : partDesc;
    }

    public void setPartDesc(String partDesc) {
        this.partDesc = partDesc;
    }

    public String getStepDesc() {
        return stepDesc == null ? "" : stepDesc;
    }

    public void setStepDesc(String stepDesc) {
        this.stepDesc = stepDesc;
    }

    public String getRecipeName() {
        return recipeName == null ? "" : recipeName;
    }

    public void setRecipeName(String recipeName) {
        this.recipeName = recipeName;
    }

    public List<PdaComponentBean> getxPdaComponents() {
        if (xPdaComponents == null) {
            return new ArrayList<>();
        }
        return xPdaComponents;
    }

    public void setxPdaComponents(List<PdaComponentBean> xPdaComponents) {
        this.xPdaComponents = xPdaComponents;
    }
}
